Tuesday, March 19, 2013

[LINUX_Newbies] Re: grub and how to delete "Ubuntu";two Linuxdistribution,I want to delete one distribution;gparted?

 



--- In LINUX_Newbies@yahoogroups.com, "highskywhy@..." <highskywhy@...> wrote:

[snip]

> How can I check this?
> Can I find in www
> the difference between SATA abd PATA?
>
>
> You can figure this out using the following method when
> in Xubuntu. From the command line type:
>
> df -h
> *
> OK
>
> This will give you a list of all partitions currently mounted.
> *
> A litte bit I can understand the result of df -h

You could also use

$ mount | -column -t

This displays all mounted devices along with their mount point sorted nicely in columns. Makes it easier to read.

You can achieve the same with the df-command though:

$ df -PhT | sort -nk6

This prints all partitions currently mounted, sorted by the percentage the partition space is used in ascending order (the option -nk 6 does that, it sort the 6th column, witch usage in percent)
The option 'T' means it displays the respective file systems, too, for each partition. Leaving that out, you would have the change to command to:

$ df -Ph | sort -nk5

in order to get same sorting according to disk usage.

Note: You do not need root permission to execute the commands mentioned above.

[snip]

> >
> >> I don't use /home because some settings for one distro will not work
> >> with another distro. In this way, I keep my home partition just for
> >> settings then save all of my information on my /data partition.

Do you create symlinks to the data partition so you do not have the specify the unusual place where your files get saved?

Pascal

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (14)
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
.

__,_._,___

No comments:

Post a Comment