mount memory modified after free

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Oct 20 12:30:17 PDT 2005


In message <20051020150739.GB43031 at green.homeunix.org>, Brian Fundakowski Feldm
an writes:
>On Thu, Oct 20, 2005 at 08:51:33AM +0200, Poul-Henning Kamp wrote:
>> In message <20051020063303.GA19624 at garage.freebsd.pl>, Pawel Jakub Dawidek writ
>> es:
>> 
>> >Bascially there is only one place to store mount-point's
>> >vnode in device structure (IIRC) and if you mount the same provider twice,
>> >it will be overwritten and you'll not be able to unmount first file system
>> >without panicing.
>> 
>> There is more, you also need to cope with the UFS snapshot data hung
>> off the cdev etc.
>
>There's UFS snapshot data for read-only mounts?

Yes, why shouldn't you be able to access snapshots just because you
mount r/o ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list