Create fstab

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
AZJIO
Addict
Addict
Posts: 2211
Joined: Sun May 14, 2017 1:48 am

Create fstab

Post by AZJIO »

Create_fstab
Download: yandex upload.ee

Copies the result to the clipboard. There are no settings and flag selection yet.

Image
AZJIO
Addict
Addict
Posts: 2211
Joined: Sun May 14, 2017 1:48 am

Re: Create fstab

Post by AZJIO »

Updated, added the blkid flag to the ini file to get the disks. Supports nvme, unlike lsblk.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5498
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Create fstab

Post by Kwai chang caine »

Thanks for sharing 8)
But apparently "RunAsAdmin.pbi" is missed :|
ImageThe happiness is a road...
Not a destination
AZJIO
Addict
Addict
Posts: 2211
Joined: Sun May 14, 2017 1:48 am

Re: Create fstab

Post by AZJIO »

Kwai chang caine wrote: Thu Oct 09, 2025 8:18 pm Thanks for sharing 8)
But apparently "RunAsAdmin.pbi" is missed :|
viewtopic.php?f=12&t=71693

I was told that lsblk supports nvme, so I'll have to review the JSON function requests. Unlike blkid, the lsblk command does not require admin privileges.

Kwai chang caine
Do you also use Linux? This program is only for Linux.

As you can imagine, console programs for the terminal are used. They display data in the terminal, but the output is difficult to read for me, and I have to rearrange the parameters by moving the data to other columns in order to create the fstab data. Therefore, I decided to simplify the task and display the data ready for copying into the fstab file.
Without this data, you have access to the drives, but they are not mounted yet, so if you have shortcuts to folders on unmounted drives on your desktop, they will not work until the drives are mounted, so I mount the drives immediately.

Update
The lsblk parameter has been changed (-I8 removed), allowing for NVMe disks to be retrieved.
Transliteration has been added.
A new parser for blkid output has been added that doesn't truncate labels on spaces.
Post Reply