Chen Guanqiao <chen.chencha...@foxmail.com> writes: > The FAT filesystem partition volume label can be read with > FAT_IOCTL_GET_VOLUME_LABEL and written with FAT_IOCTL_SET_VOLUME_LABEL. > > v2: > 1. add filesystem version check. > 2. add diretory permissions check. > 3. add volume label string check. > 4. fixed part of return value. > 5. fixed some indent issue. > 6. remove sync_dirty_buffer().
As I said in previous email, those vol_label should be matching with volume label in root directory, right? So I think handling only boot sector's vol_label would not work as expected. Does this really works as expected? E.g. suspected test case is, 1) write label on windows 2) modify label on linux 3) read modified label on windows Thanks. -- OGAWA Hirofumi <hirof...@mail.parknet.co.jp>