Tag Info

Hot answers tagged

4

I going to do some psychic debugging and assume your script looks something like this: mount /dev/usbflashdrive /mnt/something cd /mnt/something cp /somewhereelse . unmount /mnt/something Or this mount /dev/usbflashdrive /$DESTPATH cd /$DESTPATH cp /somewhereelse . unmount /$DESTPATH The problem is the cd is failing, so the files are being copied to ...


2

You'd only ever shoot yourself in the foot if you wanted to rename the volume group or logical volume later....(lvrename or vgrename). Forgetting whatever reason you renamed the vg or lv, the action would screw up your mounts and exports. LVUUID remains persistent through vg and lv rename commands. It may be good to use UUID for this reason alone, ...


1

Responding to some of your question, in order: You can use mount -o remount,nr_inodes=NUM /run/lock in your application startup script (in case it's run with uid=0). It should also be safe to add relevant line to /etc/fstab, but haven't tested. Separation makes some sense here, as in case of filling up all inodes will not interfere with the rest of the ...


1

You can easily track events in the device manager (I am assuming Windows) -Open Device manager -Find your device and Right Click -Select Properties -Click the Events Tab - select View All Events will take your to the event viewer with the filter for the device. You can find quite a bit of data in - C:\Windows\INF\setupapi.dev.log (its hard to read but ...



Only top voted, non community-wiki answers of a minimum length are eligible