Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm setting conky and I'd like to add the usb space, I use:

$font${color DimGray}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}

for the full hdd, what should I write as path for USB?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

It should be:

${fs_used /media/Name_You_See} / ${fs_size /media/Name_You_See}

Or, if you use udisks2:

${fs_used /run/media/User/Name_You_See} / ${fs_size /run/media/User/Name_You_See}

Also consider ${if_existing /media/Name_You_See} to check if path exists (which means it's mounted, not accurate but useful)

share|improve this answer
    
Thank you!!! :D –  AlessioMTX Dec 31 '12 at 9:55
    
But I had lots of bugs :\ the solution however is correct –  AlessioMTX Jan 12 '13 at 14:44
    
@AlessioMTX you could create a script to show all of them with execpi, but what's the bug? –  warl0ck Jan 13 '13 at 0:25
    
The space of USB and sometimes don't read USB –  AlessioMTX Jan 14 '13 at 12:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.