/tmp is on ramdisk, but /tmp/tftpboot is another symbolic link to a file
on the keydisk. To find out, just use "ls -l /tmp/tftpboot " or just
"ls -l /tmp ":

pbx root # ls -l /tmp
lrwxrwxrwx    1 root     root           13 Nov  3 09:44 astdb ->
/mnt/kd/astdb
drwxr-xr-x    2 root     root           40 Nov  3 17:44 bin
drwxr-xr-x    4 root     root          320 Nov  3 09:44 etc
drwxr-xr-x    3 root     root          160 Jan  1 11:12 root
lrwxrwxrwx    1 root     root           16 Nov  3 09:44 tftpboot ->
/mnt/kd/tftpboot
pbx root #

Enzo

----- Original Message ----- 
From: "Angus Comber" <[EMAIL PROTECTED]>
To: "Astlinux Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 22, 2006 5:02 AM
Subject: [Astlinux-users] Where is /tftpboot located?


> Hello
>
> I realise this is really a basic linux question, but I am using the
> /tftpboot directory to store telephone configs.  Everything works fine
but I
> thought the /tmp directory might have been a temporary ramdisk or
something
> so was concerned that might lose /tftpboot contents after reboot.  I
realise
> that the contents of /tftpboot/ must be on my keydisk somewhere but was
> confused as to how to find out.
>
> I see /tftpboot is a symbolic link as here:
> lrwxrwxrwx    1 root     root           13 Dec  8 06:09 tftpboot ->
> /tmp/tftpboot
>
> So I did this:
>
> pbx / # mount
> /dev/hda1 on / type ext2 (ro)
> none on /proc type proc (rw,nodiratime)
> none on /dev type tmpfs (rw)
> none on /var type tmpfs (rw)
> none on /tmp type tmpfs (rw)
> /dev/hdc1 on /mnt/kd type ext2 (rw,noatime)
> none on /sys type sysfs (rw)
> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
> pbx / #
>
> What does: none on /tmp type tmpfs (rw) mean?
>
> Then tried
> pbx / # df /tmp
> Filesystem           1k-blocks      Used Available Use% Mounted on
> none                     10000       172      9828   2% /tmp
>
> ???
>
> I want to understand this.  How can I find out what device /tmp is
stored
> on?
>
> Angus
>
>
>
> _______________________________________________
> Astlinux-users mailing list
> [email protected]
> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
[EMAIL PROTECTED]
>

_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to