|
||||||||||
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 |