Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!nntprelay.mathworks.com!news.mathworks.com!cam-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!disgorge.news.demon.net!demon!dispatch.news.demon.net!demon!fido.news.demon.net!demon!sun4nl!sun4nl!news.iaf.nl!news.es.iaf.nl!yedi!wilko From: wilko@yedi.iaf.nl (Wilko Bulte) Subject: Re: mount root fs r/w in single user mode? Organization: private FreeBSD site - Arnhem, The Netherlands Message-ID: <EBF6FE.117@yedi.iaf.nl> References: <3398C512.417E@engin.umich.edu> Date: Sat, 7 Jun 1997 19:06:50 GMT Lines: 31 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42622 Cheng Jin <chengjin@engin.umich.edu> writes: >Hello, all. >Is it possible to mount the root file system read and write in the >single user mode. It ought to be a reasonably feature, but I can't >get it working (when the root fs is clean). It is: mount -u / Below is taken from 'man mount' -u The -u flag indicates that the status of an already mounted file system should be changed. Any of the options discussed above (the -o option) may be changed; also a file system can be changed from read-only to read-write or vice versa. An attempt to change from read-write to read-only will fail if any files on the filesystem are currently open for writing unless the -f flag is also specified. The set of options is determined by first ex- tracting the options for the file system from the fstab table, then applying any options specified by the -o argument, and fi- nally applying the -r or -w option. -- Wilko _ ____________________________________________________________________ | / o / / _ Bulte email: wilko@yedi.iaf.nl - Arnhem, The Netherlands |/|/ / / /( (_) Do, or do not. There is no 'try' - Yoda