Re: [RFC] mount(8) can figure out fstype



Craig Rodrigues <rodrigc@xxxxxxxxxxxxxx> writes:
This is a different version of the patch I posted here:
http://lists.freebsd.org/pipermail/freebsd-arch/2006-July/005439.html

Didn't somebody mention ordering issues back then? Your revised patch
still doesn't even try to address those. If we ever get ext3 support,
for instance, mounting an ext2 file system as ext3 might cause it to
be silently upgraded to ext3.

Not to mention the slew of error messages this will result in as you
walk the list of filesystems trying to find the right one...

A better way would be to have a userland utility attempt to identify
the file system, and if necessary load the appropriate module, before
mounting it.

DES
--
Dag-Erling Smørgrav - des@xxxxxx
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: [RFC] mount(8) can figure out fstype
    ... If we ever get ext3 support, ... mounting an ext2 file system as ext3 might cause it to ... is not used, so things like mounting via /etc/fstab, where the fstype ... the file system, and if necessary load the appropriate module, before ...
    (freebsd-arch)
  • Re: [RFC] mount(8) can figure out fstype
    ... If we ever get ext3 support, ... mounting an ext2 file system as ext3 might cause it to ... is not used, so things like mounting via /etc/fstab, where the fstype ... the file system, and if necessary load the appropriate module, before ...
    (freebsd-current)
  • Re: [patch] ext2/3: document conditions when reliable operation is possible
    ... wouldn't it be an ext3 bug? ... many naive filesystem designers make is that writes succeed or they ... This will obviously cause a write failure, ... No file system will recover that data although you might be able to scrape out some remaining useful bits and bytes. ...
    (Linux-Kernel)
  • Re: want to speed up laptop
    ... Nearly hit all points on my laptop, ext3 plus ... But I'm not good at tuning the file system. ... There are several factors which combine to hurt overall disk ... Assuming the laptop is reliable, ...
    (Debian-User)
  • Re: Slow ruby regexes
    ... I don't know about proposed plans for the regexp engine for ruby, ... with one of our sys admins who wanted to use the Riser FS rather than Ext3 as ... the file system on a new server. ... was that file system performance was not a significant bottleneck for the ...
    (comp.lang.ruby)