Re: Partitioning Safely?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/27/07 19:00, Mitchell Verter wrote:
[snip]
> I bought the laptop with Debian installed, so I know little about
> it. I don't think there is much data on it and I probably don't
> care about keeping old data, just preserving important system
> files, programs, executables, etc.
Those are the *last* things you need to preserve, since you can
easily get new ones by reinstalling Debian. It's your data that's
most important.
> Is there a good way to find out where on the disk the data is
> written, so that you can be sure that your intended partition is
> empty of anything important? Is there a way to consolidate data
> to one area of the disk?
The df(1) command.
Here's what my home system looks like.
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 19228308 11600360 6651196 64% /
tmpfs 517956 0 517956 0% /lib/init/rw
udev 10240 80 10160 1% /dev
tmpfs 517956 8 517948 1% /dev/shm
/dev/hda1 45130 20397 22325 48% /boot
/dev/hda4 201859276 173816472 17788920 91% /data/01
/dev/hda3 19228308 12327092 5924464 68% /home
/dev/sda1 288451264 114423808 159374972 42% /data/02
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFFu//fS9HxQb37XmcRAhVBAKCOEX+pCfhYbNRakfnA2PORVCS1twCfWiyc
CS2NYggadjNYaNzoD4bghbg=
=EsJI
-----END PGP SIGNATURE-----
Reply to: