|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
n00b question: why doesn't this mount work?
Just curious. Here is my /etc/fstab for reference:
Code:
# cat /etc/fstab abd69b257348ce42.b none swap sw abd69b257348ce42.a / ffs rw 1 1 abd69b257348ce42.m /data ffs rw,nodev,nosuid 1 2 abd69b257348ce42.k /home ffs rw,nodev,nosuid 1 2 abd69b257348ce42.d /tmp ffs rw,nodev,nosuid 1 2 abd69b257348ce42.f /usr ffs rw,nodev 1 2 abd69b257348ce42.g /usr/X11R6 ffs rw,nodev 1 2 abd69b257348ce42.h /usr/local ffs rw,nodev 1 2 abd69b257348ce42.j /usr/obj ffs rw,nodev,nosuid 1 2 abd69b257348ce42.i /usr/src ffs rw,nodev,nosuid 1 2 abd69b257348ce42.e /var ffs rw,nodev,nosuid 1 2 ce18a2d362d8319e.a /altroot ffs xx 0 0 Code:
# umount /usr/src # mount /usr/src # mount | grep src /dev/sd0i on /usr/src type ffs (local, nodev, nosuid) # Code:
# umount /altroot # mount /altroot mount: can't find fstab entry for /altroot. # mount ce18a2d362d8319e.a /altroot # mount | grep altroot /dev/sd1a on /altroot type ffs (local) |
|
|||
Answering my own question...
mount calls getfsspec(), which returns this struct: Code:
struct fstab { char *fs_spec; /* block special device name */ char *fs_file; /* file system path prefix */ char *fs_vfstype; /* type of file system */ char *fs_mntops; /* comma separated mount options */ char *fs_type; /* rw, ro, sw, or xx */ int fs_freq; /* dump frequency, in days */ int fs_passno; /* pass number on parallel fsck */ }; "All entries in the file with a type field equivalent to FSTAB_XX are ignored." |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help: NAT doesn't work on OpenBSD 4.9 | lcxpics | OpenBSD General | 1 | 18th May 2011 09:46 AM |
ln -f at boot doesn't work | lordyan | OpenBSD General | 3 | 19th February 2009 03:50 PM |
edonkey n00b question | disappearedng | FreeBSD General | 5 | 17th November 2008 10:09 AM |
n00b Eclipse question | disappearedng | FreeBSD General | 3 | 3rd November 2008 05:29 PM |
n00b question, installed theme via ports. How to use it? | disappearedng | FreeBSD General | 1 | 25th June 2008 07:26 PM |