[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Have blkid reports on newly added devices



Thanks everyone for the replies. 

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

$ blkid -c /dev//null | grep sdc || echo no found
no found

$ blkid -c /dev//null -p /dev/sdc1

$ blkid -p /dev/sdc1

$ 

i.e., now no output. NB the /dev/sdc1 was mounted using 

 mount LABEL=xxx ... 

What do you get? Different than mine?

thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


Reply to: