[Bug 281033] [msdosfs] rm -f fails

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 24 Aug 2024 14:13:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281033

            Bug ID: 281033
           Summary: [msdosfs] rm -f fails
           Product: Base System
           Version: CURRENT
          Hardware: Any
               URL: https://github.com/freebsd/freebsd-src/pull/1329
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: jlduran@gmail.com

Created attachment 253056
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=253056&action=edit
DISPOSABLE tests with the desired behavior

Move the conversation started on GitHub pull request 1329 over to the proper
channel.

Issue
-----

    # rm -f /boot/efi/foo*
    rm: /boot/efi/foo*: Invalid argument

Given /boot/efi is an MS-DOS file system.

Tests
-----

Attached is a *disposable* patch with the tests that yield the desired output.
Other operating systems should produce a similar output, as documented
originally in the pull request.

The proposed patch in the pull request fails the last test:

    # touch /boot/efi/A.DAT
    # mv /boot/efi/A.DAT /boot/efi/B*.DAT
    mv: rename /boot/efi/A.DAT to /boot/efi/B*.DAT: Invalid argument

-- 
You are receiving this mail because:
You are the assignee for the bug.