Re: mdmfs /tmp and fstab on 5.0
On Sat, 22 Feb 2003, Matthias Buelow wrote: Hi folks, I usually mount /tmp on the swap via the following fstab entry: /dev/da0s1b /tmp mfs rw,nosuid,nodev,nosymfollow 0 0 only this doesn't work anymore on freebsd 5.0 since mount_mfs doesn't exist (seems to have been replaced by mdmfs). What's the proper way to accomplish the same thing on 5.0? I'd prefer a solution with fstab, so that /tmp gets mounted as early as possible. ln -s mdmfs /sbin/mount_mfs As I recall, mdmfs wasn't called mount_mfs at the time because the author wasn't prepared to fight the battle he assumed (probably correctly) would arise out of doing so. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ Scrabble gematria: BIBLE = DOGMA To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: mdmfs /tmp and fstab on 5.0
Jan Grant writes: ln -s mdmfs /sbin/mount_mfs Yes, that's a workaround I had in mind. As I recall, mdmfs wasn't called mount_mfs at the time because the author wasn't prepared to fight the battle he assumed (probably correctly) would arise out of doing so. I can't see any problem there, if the mdmfs program is compatible with mount_mfs. I mean, the manpage even explicitly says, the mdmfs utility is designed to be a work-alike and look-alike of the deprecated mount_mfs(8). Why then the different name, especially with the result that it can no longer be used with fstab? I mean, the old mount_mfs doesn't seem to exist anymore so there would be no naming conflict. -- Matthias Buelow To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: mdmfs /tmp and fstab on 5.0
I wrote: ln -s mdmfs /sbin/mount_mfs Yes, that's a workaround I had in mind. I can't see any problem there, if the mdmfs program is compatible with mount_mfs. I mean, the manpage even explicitly says, the mdmfs Ok, mdmfs is not fully compatible with mount_mfs, since you don't specify a swap device as parameter but, for example, /dev/md0. Other than that it seems to work ok, when called as mount_mfs via fstab (thru a symlink). I now have the following line in fstab: /dev/md0 /tmp mfs rw,nosuid,nodev,nosymfollow,-s256m 0 0 Is there any reason that softupdates is enabled on the md filesystem by default? Wouldn't async do the trick aswell? -- Matthias Buelow To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: mdmfs /tmp and fstab on 5.0
On Sat, 22 Feb 2003, Matthias Buelow wrote: Jan Grant writes: ln -s mdmfs /sbin/mount_mfs Yes, that's a workaround I had in mind. As I recall, mdmfs wasn't called mount_mfs at the time because the author wasn't prepared to fight the battle he assumed (probably correctly) would arise out of doing so. I can't see any problem there, if the mdmfs program is compatible with mount_mfs. I mean, the manpage even explicitly says, the mdmfs utility is designed to be a work-alike and look-alike of the deprecated mount_mfs(8). Why then the different name, especially with the result that it can no longer be used with fstab? I mean, the old mount_mfs doesn't seem to exist anymore so there would be no naming conflict. Semantics. It doesn't mount an mfs filesystem, so it shouldn't be called mount_mfs. I personally think it's a fairly large breach of POLA - this isn't really an argument I subscribe to either. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ ioctl(2): probably the coolest Unix system call in the world To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
mdmfs /tmp and fstab on 5.0
Hi folks, I usually mount /tmp on the swap via the following fstab entry: /dev/da0s1b /tmp mfs rw,nosuid,nodev,nosymfollow 0 0 only this doesn't work anymore on freebsd 5.0 since mount_mfs doesn't exist (seems to have been replaced by mdmfs). What's the proper way to accomplish the same thing on 5.0? I'd prefer a solution with fstab, so that /tmp gets mounted as early as possible. -- Matthias Buelow To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message