Albin Otterhaell:
>
> $ lsblk
>
> should be clean and structured.
Nice! How didn't I know about that? It helps especially with complex
device structures involving LVM and LUKS.
J.
--
When I am at nightclubs I enjoy looking at other people and assessing
their imagined problems.
[Agree] [Disag
J Mo:
> -->df
> Filesystem 1K-blocks Used Available Use% Mounted on
> udev 16441312 0 16441312 0% /dev
> tmpfs 3290364 96683280696 1% /run
> /dev/sda2114287812 44945248 63514008 42% /
> tmpfs
Håkon Alstadheim wrote:
> alias drives="mount | grep '^/'"
Another alternative
alias drives='df -h -T -x tmpfs -x devtmpfs'
sk@d3s 02:44 PM ~
$ drives
FilesystemType Size Used Avail Use% Mounted on
/dev/sda1 ext4 31G 6.9G 23G 24% /
On Wednesday 18 May 2016 07:52:03 Håkon Alstadheim wrote:
> Den 18. mai 2016 06:51, skrev David Wright:
> > $ mount -t ext3 ; mount -t ext4
>
> Or, to get only real devices listed: mount | grep '^/' .
> Frees you from knowing fstype.
>
> > $ man bash for info on aliases and shell functions.
> >
>
Den 18. mai 2016 06:51, skrev David Wright:
> $ mount -t ext3 ; mount -t ext4
Or, to get only real devices listed: mount | grep '^/' .
Frees you from knowing fstype.
>
> $ man bash for info on aliases and shell functions.
>
> Cheers,
> David.
>
>
alias drives="mount | grep '^/'"
On Tue 17 May 2016 at 17:18:03 (-0700), J Mo wrote:
> The output from these commands are on a freshly installed system.
>
> -->df
> Filesystem 1K-blocks Used Available Use% Mounted on
> udev 16441312 0 16441312 0% /dev
> tmpfs 3290364
6 matches
Mail list logo