|
Post by metro on Aug 24, 2020 18:28:40 GMT -5
print Drives$ gives me / on both platforms
64 bit Linux , the same
|
|
|
Post by Chris Iverson on Aug 24, 2020 19:50:37 GMT -5
May I ask what you're expecting it to do?
Because the answer of "/" is technically correct.
On Windows, the individual drive letters listed are all roots of their own drives.
On Linux, EVERYTHING descends from ONE root point - "/".
On Linux, drives get mounted into the current virtual filesystem, and act as part of it.
|
|
|
Post by metro on Aug 25, 2020 0:07:27 GMT -5
May I ask what you're expecting it to do? Because the answer of "/" is technically correct. On Windows, the individual drive letters listed are all roots of their own drives. On Linux, EVERYTHING descends from ONE root point - "/". On Linux, drives get mounted into the current virtual filesystem, and act as part of it. yep, you are correct Chris I had forgotten in Linux everything is a file. I was expecting
/dev/sdb2 2099200 106956621 104857422 50G Linux filesystem /dev/sdb3 106956800 123734015 16777216 8G Linux swap /dev/sdb4 123734016 438306815 314572800 150G Linux filesystem /dev/sdb5 438306816 1953523711 1515216896 722.5G Microsoft basic data /dev/sdb6 2048 2099199 2097152 1G BIOS boot
seems ya never too old to learn , it's just how long you remember it that changes
|
|
|
Post by metro on Aug 27, 2020 23:02:28 GMT -5
I'm stumped! How do we get drive and folder/files info with lb5-351(32) LINUX running "testfiles.bas" using root ("/") as the path I only get files add to the path "home/myusername" I get a list of files but no sub-folders, I know there are sub folders though....... changing to"/media/myusername/" should list the drives I have but I get 0 files and 0 subdirectories
using the windows version with wine files "Z:\media\laurie", "*.*", dir$() shows me the drives (as folders)
EDIT: maybe it's a permissions thing and I have to mount the drives then chown . After that edit fstab to set them up to auto mount at startup
|
|