[ previous ] [ next ] [ threads ]
 
 From:  Jukka Salmi <jukka dash m0n0wall at 2004 dot salmi dot ch>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] boot device
 Date:  Wed, 16 Jun 2004 23:58:45 +0200
Joey Morin --> m0n0wall (2004-06-16 15:54:18 -0400):
> 
> 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

It's /var/etc/cfdevice.


HTH, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~