How do I find the FreeBSD major?

Love lha at stacken.kth.se
Thu Jul 23 19:44:52 CEST 1998


"Peter J. Braam" <braam at cs.cmu.edu> writes:

> On FreeBSD I get the following output: 
> 
> su-2.01# modload -e xfs_mod -o /var/tmp/symbols /usr/arla/bin/xfs_mod.o
> [..]
> status = 0
> Module loaded as ID 1
> su-2.01# ls -l /dev | grep 17
> crw-r-----  1 root   operator   17,   0 Apr 15 13:34 ch0
> 
> 
> Is 17 the major I want? What should I look for in the console output?

Nope. Check our dmesg

datan # dmesg | grep -A 2 -B 1 char
Loading mod...
char device number 128
syscall 210
Using VFS slot 18

17 is the VFS slot as you see in the vfsconf output. (I have 18)


> The following confuses me.  In var log messages I found the major of
> /dev/xfs0.  The next step is to mount, but I get the following error:
> 
> su-2.01# /usr/arla/bin/mount_xfs /afs /dev/xfs0
> mount_xfs: mount: Not a directory

Do it the other way around. ie. ``mount_xfs /dev/xfs0 /afs''

Check /usr/arla/bin/startarla (it should work).

Love





More information about the Arla-drinkers mailing list