Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Does any sign that the EXT4 partition have been loaded or accessed?

  1. #1
    Join Date
    Aug 2024
    Beans
    17

    Does any sign that the EXT4 partition have been loaded or accessed?

    My Ubuntu and my friend's Windows are installed in the same disk, how can I know if my EXT4 partition have been loaded or/and accessed by him or others?

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Does any sign that the EXT4 partition have been loaded or accessed?

    Keep track of the timestamps for files and allow atime to work on the file system through mount options.

    However, there's nothing to prevent him/her from booting off a flash drive and going crazy with the files in the linux side unless you setup full drive (including OS) encryption. If it were me, I'd at least do that or get a USB3 flash (or SSD) drive and install linux to that, so you don't leave your OS with the system, but take it with you.

    Most MS-Windows users don't know how to access ext4 file systems, so unless your friend is a nerd, they are unlikely to bother. Only you know if they will. It isn't automatic in the way that Linux desktops can basically point-n-click to access MS-Windows data file systems.

    Have the appropriate amount of security for your needs. It is pretty unlikely that anyone actually cares about your Linux install, but only you know if that is a risk or not.

  3. #3
    Join Date
    Aug 2024
    Beans
    17

    Re: Does any sign that the EXT4 partition have been loaded or accessed?

    What about Microsoft Windows itself and it's default softwares, are they allowed to read the files on EXT4 partition?

  4. #4
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 24.04 Noble Numbat

    Re: Does any sign that the EXT4 partition have been loaded or accessed?

    I don't think Windows can read ext# formatted partitions without installation of some third party software but it's now 20 years since I dual booted Ubuntu and Windows XP so I may be out of date.

    However, I agree largely with TheFu that only you know about the risks your second user might be to you, and how knowledgeable in Linux he is, possibly (probably?) not at all if my friends and family are anything to go by!

  5. #5
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Does any sign that the EXT4 partition have been loaded or accessed?

    Quote Originally Posted by mangada View Post
    What about Microsoft Windows itself and it's default softwares, are they allowed to read the files on EXT4 partition?
    Google found this: https://www.thewindowsclub.com/how-t...-in-windows-10
    and a few others that are similar.

    Might be smart to ask the question on an MS-Windows forum.

  6. #6
    Join Date
    Jun 2014
    Beans
    7,707

    Re: Does any sign that the EXT4 partition have been loaded or accessed?

    A default windows install is unlikely to be able to read much less write to any Linux filesystem but there is third party software which can enable it such as the software referred to in the link below or the link in post 5.

    https://www.diskgenius.com/resource/...4-windows.html

  7. #7
    Join Date
    Apr 2024
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Does any sign that the EXT4 partition have been loaded or accessed?

    Quote Originally Posted by TheFu View Post
    Google found this: https://www.thewindowsclub.com/how-t...-in-windows-10
    and a few others that are similar.
    It might be because I have WSL but Windows Disk Management recognises and mounts ext4 devices (to my horror! ) and so does a standard Windows file manager, although I have resisted actually looking at any ext4 device there. Better safe than sorry.

    Of the utilities listed on that link, I have used Diskinternals LinuxReader - generally, excellent IME.

    One oddity about Linux files under Windows might be worth noting here, 7zip files created on Linux, especially encrypted ones, don't always open in 7zip Windows and actually the attempt seems to corrupt the file.

  8. #8
    Join Date
    Apr 2024
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Does any sign that the EXT4 partition have been loaded or accessed?

    Quote Originally Posted by yancek View Post
    A default windows install is unlikely to be able to read much less write to any Linux filesystem but there is third party software which can enable it such as the software referred to in the link below or the link in post 5.

    https://www.diskgenius.com/resource/...4-windows.html
    I'd be *very* weary of using Diskgenius, or any tool that claimed to allow writing directly to ext4 from Windows. The risk of corrupting the file system is just too great. Better to exchange data between Windows and Linux from the Linux side.

    Other reasons for weariness include the 'free lifetime updates' and 'free lifetime support' for the Pro version. As a commercial software company, they are at very great risk of having their revenue stream dwindle more and more until eventually they won't be around at all any more.

  9. #9
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Does any sign that the EXT4 partition have been loaded or accessed?

    Quote Originally Posted by werewulf75 View Post
    One oddity about Linux files under Windows might be worth noting here, 7zip files created on Linux, especially encrypted ones, don't always open in 7zip Windows and actually the attempt seems to corrupt the file.
    There are many different implementations of "ZIP" archives and compression. Not all are compatible. On Linux, if you want the ZIP to be compatible with the built-in ZIP in MS-Windows, use PeaZIP. Or, better, use a tgz or tar.gz archive type which is cross platform and F/LOSS (not proprietary). Actually, there are lots and lots of different compressors. It happens that ZIP was early and used on MS-Windows. Took about 15 yrs before MSFT added native support, but on Unix/Linux, we'd already moved onto others.

    • cpio
    • tar
    • Compress - .Z
    • PkZip - .zip (mainly MS-Windows and MS-DOS)
    • InfoZIP - .zip (mainly Unix)
    • Arj - .arg
    • Lha - .lhz
    • <lots of others, including 10 variants of ZIP)
    • bz


    In general, newer compression is faster and compresses to smaller files. Sort like how mpeg1 --> mpeg2 --> Mpeg4/Divx/Xvid --> h.264 --> h.265 --> and all the new video codes have gotten better/smaller, but not necessarily faster.

    Anyway, hope this is helpful. You can always use the 'file' utility to read the file signature to know what archiver/compressor was used on any specific file. A few examples:
    Code:
    $ file x.tgz
    x.tgz: gzip compressed data, from Unix, original size modulo 2^32 10240
    
    $ file y.tar.gz
    y.tar.gz: gzip compressed data, was "y-2.038.tar", last modified: Mon Apr 15 20:14:19 2024, max compression, from Unix, original size modulo 2^32 174080
    
    $ file z.zip
    z.zip: Zip archive data, at least v2.0 to extract
    The utility will look at file signatures for any file and make the best guess possible.
    Code:
    $ file BIOSRenamer.exe
    BIOSRenamer.exe: PE32 executable (console) Intel 80386, for MS Windows
    
    $ file command.com 
    command.com: MS-DOS executable, MZ for MS-DOS
    The Linux/Unix OS doesn't care about the extension. Some poorly written GUI programs on Linux do. I don't know why. File extensions are conveniences for humans. They are really convenient, most definitely.

  10. #10
    Join Date
    Apr 2024
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Does any sign that the EXT4 partition have been loaded or accessed?

    Quote Originally Posted by TheFu View Post
    There are many different implementations of "ZIP" archives and compression. Not all are compatible. On Linux, if you want the ZIP to be compatible with the built-in ZIP in MS-Windows, use PeaZIP. Or, better, use a tgz or tar.gz archive type which is cross platform and F/LOSS (not proprietary). Actually, there are lots and lots of different compressors. It happens that ZIP was early and used on MS-Windows. Took about 15 yrs before MSFT added native support, but on Unix/Linux, we'd already moved onto others.
    It's 7zip I was writing about, on both sides, meant to be cross-platform. Its default compression method is LZMA2, highest compression I've yet seen and fast, as well as offering AES256 encryption. Most times it works fine using Linux side file in Windows. Where it doesn't, I tend to re-compress as tgz.

    Quote Originally Posted by TheFu View Post
    • cpio
    • tar
    • Compress - .Z
    • PkZip - .zip (mainly MS-Windows and MS-DOS)
    • InfoZIP - .zip (mainly Unix)
    • Arj - .arg
    • Lha - .lhz
    • <lots of others, including 10 variants of ZIP)
    • bz
    It's sad that Lzx is missing from that list. It was, in its time, the fastest archiver around with highest compression ratio. That was back in the early '90s on Amiga which I had as well as NeXT. Sadly, Lzx - just as it was becoming x-platform, was snapped up by Microsoft along with its developer and became cab.
    Quote Originally Posted by TheFu View Post
    In general, newer compression is faster and compresses to smaller files. Sort like how mpeg1 --> mpeg2 --> Mpeg4/Divx/Xvid --> h.264 --> h.265 --> and all the new video codes have gotten better/smaller, but not necessarily faster.

    Anyway, hope this is helpful. You can always use the 'file' utility to read the file signature to know what archiver/compressor was used on any specific file. A few examples:
    Code:
    $ file x.tgz
    x.tgz: gzip compressed data, from Unix, original size modulo 2^32 10240
    
    $ file y.tar.gz
    y.tar.gz: gzip compressed data, was "y-2.038.tar", last modified: Mon Apr 15 20:14:19 2024, max compression, from Unix, original size modulo 2^32 174080
    
    $ file z.zip
    z.zip: Zip archive data, at least v2.0 to extract
    The utility will look at file signatures for any file and make the best guess possible.
    Code:
    $ file BIOSRenamer.exe
    BIOSRenamer.exe: PE32 executable (console) Intel 80386, for MS Windows
    
    $ file command.com 
    command.com: MS-DOS executable, MZ for MS-DOS
    The Linux/Unix OS doesn't care about the extension. Some poorly written GUI programs on Linux do. I don't know why. File extensions are conveniences for humans. They are really convenient, most definitely.
    All very useful information, thanks TheFu, let's hope it will prove so for lots of others too.

    Yeah, sometimes the profusion of file extensions in places really irritates me but on the other hand, sometimes they can be convenient for us humans, as you point out.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •