Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7983635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T11:01:09+00:00 2026-06-04T11:01:09+00:00

I am working on an embedded system which runs on linux. To reduce the

  • 0

I am working on an embedded system which runs on linux. To reduce the boot time of the product (It is an IP net camera) I would like to reduce the root filesystem size. I already have a functional root filesystem and am currently manually removing portions and seeing if the root file system will mount. Is there a more logical approach to reducing file system size rather than the current trial and error method Updated with additional details: The original filesystem used on the target is a generic filesystem used across multiple embedded products in our organization. I want to strip down the filesystem to the bare minimum required to run my specific product .i.e IPNetCam. I want to know if there are any profiling methods hat can determine the exact set of files required to boot and run a particular application.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T11:01:11+00:00Added an answer on June 4, 2026 at 11:01 am

    One way to list the files used by your OS and its application would be to:

    • turn on the atime flag on your file system (if not yet set)
    • reboot
    • after your application has run long enough, use atime to find out what files have been accessed after the last boot:

    # last reboot | head -1
    reboot   system boot  2.6.35-30-generi Sun May 20 10:08 - 10:48  (00:40)
    # touch -d "2012-05-20 10:07" /tmp/ref
    # find / -xdev -anewer /tmp/ref > /tmp/usedFiles
    

    Of course, this method is ignoring files not accessed in your sample run but still necessary in infrequent or exceptional situations. You will also need to add files directly read by the boot loader or the OS in early stages when the file system is accessed in read-only mode.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working in embedded system domain. I would like to know how a
I am working on a project that involves an embedded system which runs a
I am working on development of an embedded Linux device which needs to exchange
I'm working on an embedded system. The directory /root/txpa/images/current/application/bin contains the file qt.conf ,
I am working on embedded linux platform with limited system resources . I want
i am working on a project, where i would like to install an embedded
I'm working with an embedded system which has a RAS entry already set up,
I'm working on an embedded systems which provides an interface with certain types. The
I am working on an embedded system, so memory is precious for me. One
I am working on a simple protocol stack for a small embedded system (multidrop,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.