Hi all,
Having a look through the C documentation, and I came across the AmigaDOS lock command, which locks drives.
Does anyone know which filesystems it works with? Only FFS? Or is it at the API level and works with anything?
AmigaDOS Lock command
Re: AmigaDOS Lock command
It should work with every filesystem.
Re: AmigaDOS Lock command
The filesystem has to support it, ACTION_WRITE_PROTECT for old packet filesystems or FSWriteProtect() for new vector port filesystems, but I don't know any which doesn't support it.ZeroG wrote:It should work with every filesystem.
Re: AmigaDOS Lock command
I've been using the lock command on my SYS: & Work: partitions for years with OS3 and OS4. It worked for me with all Amiga filesystems but I don't know about FAT or NTFS partitions.
AmigaOne X1000 with 2GB memory - OS4.1 FE
- salass00
- AmigaOS Core Developer
- Posts: 530
- Joined: Sat Jun 18, 2011 3:12 pm
- Location: Finland
- Contact:
Re: AmigaDOS Lock command
All filesysbox filesystems should have FSWriteProtect() support as it's implemented in filesysbox.library.