Until then the last part doesn't work :-[ | (http://t.imgbox.com/actTysfR.jpg) (http://imgbox.com/actTysfR) |
fs_size /dev/disk/by-uuid/uuid
sudo blkid
26 Feb 13 | 21:16:07 ~
$ sudo blkid
[sudo] password for sector11:
/dev/sda5: UUID="289be46c-c7ea-4c0b-b711-7fa44375bfa4" TYPE="ext4"
/dev/sda6: UUID="650b1aae-b0de-413e-a67d-a3e686eeb7a9" TYPE="ext4"
/dev/sda7: LABEL="VastOne Config" UUID="4419cbef-6b4b-4b0c-864d-c0fa72bc5705" TYPE="ext4"
/dev/sda1: UUID="4fb35957-ffa5-4011-8cae-a3ed9e293c3b" TYPE="ext4"
/dev/sda2: UUID="fabad1fb-6591-4c27-9b50-2720d9589d64" TYPE="ext4"
/dev/sda3: UUID="5fa66766-c42e-43bb-815d-02b1b2723b49" TYPE="swap"
/dev/sdb1: LABEL="VSIDO LiveCD" TYPE="iso9660"
sector11 @ sector11
26 Feb 13 | 21:16:15 ~
$
sector11 @ sector11
26 Feb 13 | 21:16:15 ~
$ parted
bash: parted: command not found
sector11 @ sector11
26 Feb 13 | 21:17:48 ~
$
Mlabel supports the following options:
c Clears an existing label, without prompting the user
s Shows the existing label, without prompting the user.
n Assigns a new (random) serial number to the disk
N serial
Sets the supplied serial number. The serial number should be supplied as an 8 digit hexadecimal number,
without spaces
26 Feb 13 | 21:26:15 ~
$ mlabel -s sdb1
Mtools version 4.0.17, dated June 29th, 2011
Usage: mlabel [-vscVn] [-N serial] drive:
sector11 @ sector11
26 Feb 13 | 21:26:31 ~
$ mlabel -s drive:/dev/sdb1
Mtools version 4.0.17, dated June 29th, 2011
Usage: mlabel [-vscVn] [-N serial] drive:
sector11 @ sector11
26 Feb 13 | 21:26:37 ~
$
m/5 ${fs_size /dev/disk/by-uuid/289be46c-c7ea-4c0b-b711-7fa44375bfa4}