[ previous ] [ next ] [ threads ]
 
 From:  Joey Morin <jmorin at icomm dot ca>
 To:  Dinesh Nair <dinesh at alphaque dot com>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] boot device
 Date:  Wed, 16 Jun 2004 15:54:18 -0400 (EDT)
This one time, at band camp, Dinesh Nair said:

> On Wed, 16 Jun 2004, Joey Morin wrote:
>
> > does anyone know of a way to determine the name of the boot device
> > from within a php page, or from the command line?  i can see devices
> > identified
>
> read /var/db/cfdevice. :)

thanks.

i get:

$ cat /var/db/cfdevice
cat: /var/db/cfdevice: No such file or directory

and:

$ ls -alR  /var/db/
total 16
drwxr-xr-x  2 root  wheel   512 Jun 16 15:13 .
drwxr-xr-x  6 root  wheel   512 Jun 16 04:22 ..
-rw-r--r--  1 root  wheel   911 Jun 16 15:13 dhcpd.leases
-rw-r--r--  1 root  wheel  1147 Jun 16 15:13 dhcpd.leases~
-rw-r--r--  1 root  wheel    11 Jun 16 04:22 ipsec.wanip
-rw-r--r--  1 root  wheel  1052 Jun 16 15:53 msntp.state

any other ideas?

jj