Re: Have blkid reports on newly added devices
On Thu, 04 Aug 2011 20:32:11 +0000, T o n g wrote:
> On Thu, 04 Aug 2011 15:00:34 -0400, Tom H wrote:
>
>>> My newly inserted sdc1 has already been mounted, yet blkid can't
>>> report on it:
>>>
>>> $ df | grep sdc
>>> /dev/sdc1 3862528 428384 3434144 12% /mnt/camera
>>>
>>> $ blkid | grep sdc || echo no found
>>> no found
>>
>> Bypass the blkid cache with "-c /dev//null".
>
> $ blkid -p /dev/sdc1
> error: /dev/sdc1: No such file or directory
Wow...
> $ blkid -c /dev//null | grep sdc || echo no found no found
>
> $ blkid -c /dev//null -p /dev/sdc1
>
> $ blkid -p /dev/sdc1
>
> $
Wow 2...
> i.e., now no output. NB the /dev/sdc1 was mounted using
>
> mount LABEL=xxx ...
That's weird. Give us the output of "mount" and "dmesg|grep -i sdc"
> What do you get? Different than mine?
Yep, sure. As soon as I plug my USB flash key (or my camera) it gets
detected by blkid without needing to make sorcery nor summoning
oddfellows.
stt008:~# df |grep sdc
/dev/sdc1 7909376 224 7909152 1% /media/NIKON D80
stt008:~# blkid | grep sdc || echo no found
/dev/sdc1: LABEL="NIKON D80" UUID="0000-0000" TYPE="vfat"
And this is from and old lenny.
Greetings,
--
Camaleón
Reply to: