Re: tmp and system partition



On 14/09/10 11:05, Eef Hartman wrote:
Prof. Filipe <prof.fmpaiva@xxxxxxxxx> wrote:

How can I see everything that is on the system partition?

Usage, or all files?
Usage with "df" (Disk Free"), everything which is NOT in other
mounts there, is in the system partition, i.e. (very simple):
$ df
/dev/sda1 51605464 7736080 41247980 16% /
/dev/sda3 420851268 113639660 307211608 28% /data
my local disk _here_ only has 2 fs'es (and a swap on sda2):
/data, and "everything else", except for network (NFS etc) mounts,
of course.

All files:
find / -xdev -ls
is a good option (find from /, but do NOT cross mount points, and
list all files (and dirs and special files).
On the above / fs that will be about 320 000 lines !!

Or:

dd if=/dev/sda1

:-D

--
Kind regards, JT

.



Relevant Pages

  • Re: tmp and system partition
    ... Usage with "df" (Disk Free"), everything which is NOT in other ... mounts there, is in the system partition, i.e.: ... /data, and "everything else", except for network mounts, ...
    (alt.os.linux.suse)
  • Re: Power Inverters
    ... It mounts on the bulkhead and the filter itself is a twist on and off ... At my usage, it should last for over 6 months. ...
    (rec.boats.electronics)
  • Re: vfat BKL/lock_super regression in v2.6.26-rc3-g8f59342
    ... consider "sync" mounts to be about open/close consistency, ... the file is on disk, but we wouldn't force a synchronous rewrite the inode ... I was reading the vfat code, and it turns out that vfat has a "flush" ...
    (Linux-Kernel)
  • Fedora Core 5: Automounting usb disk on boot
    ... I reformatted a 250 USB gb disk to ext3 and it works fine. ... mounts when I start my gnome session, but if I reboot the disk is not ... I labelled it "Backup" so it always mounts as ...
    (Fedora)
  • Re: Itanium hardware Q
    ... mounts; the kits were unique between the rx1600 and the rx2600, ... storage bricks. ... you know you're the only person who will be moving them, ... makes a great disk mount. ...
    (comp.os.vms)