=== yofel_ is now known as yofel | ||
dupondje | https://lkml.org/lkml/2012/2/8/246 -> could this small patch be added to Precise kernel. Just hit that 'bug' :) | 20:22 |
---|---|---|
=== albrigha is now known as Guest26930 | ||
gordonjcp | hi | 22:01 |
gordonjcp | I'm having a problem when I eject USB drives, where I can no longer access the drive as a block device | 22:01 |
gordonjcp | dmesg shows the following: | 22:01 |
gordonjcp | sdb: detected capacity change from 4004511744 to 0 | 22:01 |
gordonjcp | what exactly is going on when I eject in Ubuntu, and how can I prevent it doing this without having to reboot into Arch every time I want to write to a USB drive? | 22:02 |
RAOF | Why are you ejecting it? | 22:03 |
gordonjcp | because I don't want the filesystem mounted | 22:03 |
JanC | you can unmount it... ☺ | 22:04 |
gordonjcp | yes, but then it stops working, as I just said | 22:04 |
JanC | unmount != eject | 22:04 |
gordonjcp | same thing | 22:05 |
JanC | eject makes it invisible until you remove it & plug it back in | 22:05 |
gordonjcp | so does umount | 22:05 |
JanC | unmount does not do that | 22:05 |
JanC | eject is on a lower level | 22:05 |
gordonjcp | I've just tried it; umount does the same thing as eject, or right-click and "Safely Remove..." from the desktop | 22:06 |
JanC | I mount/unmount USB disks all the time... | 22:06 |
JanC | or partitions on them | 22:06 |
gordonjcp | in 11.10? | 22:06 |
JanC | yes | 22:07 |
gordonjcp | hm, well it's not working here | 22:07 |
JanC | eject removes the block device, so naturally you can't (easily) remount it then, but umount shouldn't do that (AFAIK) | 22:08 |
gordonjcp | it's definitely removing the block device... | 22:09 |
gordonjcp | you're starting to make me wonder if someone has aliased umount to eject, just to annyo me | 22:09 |
gordonjcp | *annoy | 22:09 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!