On Thu, Jun 05, 2008 at 07:58:39AM -0500, Mike Gerdts wrote: > > Are you worried about fstyp being wrong? If so, wouldn't a fall back to > > guessing 'ufs' assuage that fear? > > So long as libfstyp works it will always be wrong by falling back to > ufs. I'm somewhat inclined to just given an error message if libfstyp > can't figure it out.
That sounds good to me. It even fixes that annoying thing where you attempt to mount some junk device and get (indirectly) told that it's not UFS. Would this case also obsolete /etc/default/fs (I don't know offhand if anything else cares about that?). What about /etc/dfs/fstypes (once again, not sure if anyone uses that)? Finally, there's the interaction with the auto-lofi-mount stuff I put back. Does fstyp work on all the filesystems with files (I know fsck doesn't for pcfs, for example) ? regards john
