^That's not UUID, that's /dev/sdb.Sector11 wrote:If I plug it in - it gets mounted - consider it "made use of" :)
-Hinto
^That's not UUID, that's /dev/sdb.Sector11 wrote:If I plug it in - it gets mounted - consider it "made use of" :)
Code: Select all
30 Aug 13 | 16:10:48 ~
$ par
Partition: ID: / size: 15G used: 4.6G (34%) fs: ext4 dev: /dev/sda1
label: N/A uuid: 4fb35957-ffa5-4011-8cae-a3ed9e293c3b
ID: /media/5 size: 117G used: 34G (31%) fs: ext4 dev: /dev/sda5
label: N/A uuid: 4e253402-7c18-4346-85ce-4eaa74877cfb
ID: /media/10 size: 17G used: 44M (1%) fs: ext4 dev: /dev/sda10
label: N/A uuid: 684440b6-4b6c-4082-863b-5bab46e6f21c
ID: /home size: 15G used: 4.5G (33%) fs: ext4 dev: /dev/sda2
label: N/A uuid: fabad1fb-6591-4c27-9b50-2720d9589d64
ID: /media/bake size: 16G used: 1.6G (11%) fs: ext4 dev: /dev/sda8
label: N/A uuid: f667e6ac-b263-4cb1-858e-a768fcb69def
30 Aug 13 | 16:10:51 ~
$
Code: Select all
UUID=12fdb838-a76f-4f29-a0cf-b5cdc6d379ed none swap sw 0 0
Why would I want to comment it out? It's strange that a swap with no mount point is there, I don't know why it is, but meybe like you said, if it's used by Live/CD/USB's it's good to have it there.hinto wrote:Try commenting out the fstab entry...
If it works, then yahoo... I'm not quite losing my mind.
BTW... LiveCDs mount swap partitions on a hard drive automatically if they exist.
-Hinto
Code: Select all
sudo mount -L squeeze /path/to/mount
Code: Select all
$ e2label
Code: Select all
sudo e2label /dev/sdxy label
Code: Select all
## Change or add labels on a Partition #######################################
lpar() {
sudo e2label /dev/sda$1 $2
}
OH HELL!!!! Kill that function.johnraff wrote:^Sector, be very careful with using functions for action on drives like this. One little slip, an unmeant space or an unset variable can do serious damage.
eg /dev/sda$1 will revert to /dev/sda if $1 is unset...